package eirkdbd.lab1.obj;

import eirkdbd.lab1.data.Team;
import eirkdbd.lab1.log.TableObject;

public class TableTeam extends Team implements TableObject {

	private double value;
	
	public TableTeam(Team team, double value) {
		super(team);
		this.value = value;
	}
	
	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public Object[] toObject() {
		return new Object[] {0, getPlayer(), getTeam(), getMatch(), 
				getGoals(), getAssist(), getPoints(),
				getPenalty(), getAdvantage(), getAccuracy(), getWinnerGoals(), getShoots()};
	}
}
